package zelix.hack.hacks.irc;

import zelix.managers.HackManager;
import zelix.utils.hooks.visual.ChatUtils;

public class IRCTheard extends Thread {
	
	
	
	@Override
	public void run() {
		IRCChat.connect();
		while (true) {
			IRCChat.handleInput();
			if (!HackManager.getHack("IRCChat").isToggled()) {
				ChatUtils.error("Disconnect from IRC :-(");
				break;
			}
		}
	}
}
